package com.ecnu.sei.app.teacher;

import java.util.Set;

import com.ecnu.sei.app.resources.Time;

/*
 *  Associate Professor proctoring rules:
 * 
 *  1. proctor <= 4 times/semester
 *  2. proctor his/her own courses
 */

public class AssociateProfessor extends AbstractTeacher {

  public AssociateProfessor(String id, String name) {
    super(id, name);
  }
  
  public AssociateProfessor(String id, String name, Set<Time> leaves) {
    super(id, name, 4, leaves);
  }

  @Override
  public String toString() {
    return "AssociateProfessor [name=" + name + "]";
  }
 
}
